package com.p2p.funds.dao;


import java.util.List;

import org.apache.ibatis.annotations.Select;

import com.p2p.base.dao.BaseMapper;
import com.p2p.base.model.P2PRecharge;

public interface P2PRechargeDao extends BaseMapper{

	void saveP2PRecharge(P2PRecharge p2pRecharge);
	
	P2PRecharge findP2PRechargeById(Long id);
	
	void updateP2PRecharge(P2PRecharge p2pRecharge);
	
	@Select("select * from p2p_recharge where status=11 and addtime <#{overTime} ")
	List<P2PRecharge> findOverTime(Long overTime);
}
